<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>
<%@ include file="../inc/topo.jsp" %>
<%@ include file="../inc/tiny_mce_conf.jsp" %>
	<div id="breadcrumb">
		<s:text name="label.breadcrumb" /><a href="listarArquivos.action"><s:text name="arquivo.nome" /></a><s:text name="breadcrumb.separador" /><s:text name="label.atualizar" /><s:text name="arquivo.nome" />
	</div>
	<br/><h1><s:text name="label.atualizar" /><s:text name="arquivo.nome" /></h1><br/>
	<a href="listarArquivos.action"><b><s:text name="button.label.voltar" /></b></a><br />
	<%@ include file="../inc/mensagens.jsp" %>
	<div>
		${atalho}
	</div>
	<s:form action="atualizarArquivo" validate="true">
	 	<div class="TbLEdit_row">
			<s:hidden name="arquivo.nuArquivo" />
			
			<div class="lbl">
				Nome:
			</div>
			<div class="info">
				<s:property value="arquivo.noArquivo" />
			</div>
		</div>
		<div class="TbLEdit_row">
			<label for="setor">Setor:</label>
			<s:select name="arquivo.nuSetor" id="setor"
				list="listSetor" 
				listKey="nuSetor" 
				listValue="noSetor"
			/>
		</div>
		<div class="TbLEdit_row">
			<label for="cabecalhoForm">
				<s:text name="label.descricao" />:
			</label>
			<s:textfield name="arquivo.deArquivo" id="cabecalhoForm" />
		</div>
		<div class="TbLEdit_row">
			<label for="longdesc"><s:text name="label.longdesc" />:</label>
			<s:textarea name="arquivo.longdesc" id="longdesc" onfocus="this.select()" cols="40" rows="10" cssClass="mceEditor" />
			<s:text name="help.longdesc" />
		</div>
		<div class="TbLEdit_btns">
			<s:submit name="btnGravar" value="Atualizar" accesskey="s" />
		</div>
	</s:form>
	<jsp:include page="../inc/final.jsp" />
